// 引入创建 store 的核心方法
import { createStore, applyMiddleware } from 'redux'
// 引入 count 的 reducer 方法
import countReducer from './count_reducer'
// 引入异步中间件
import thunk from 'redux-thunk'

export default createStore(countReducer, applyMiddleware(thunk))
